package com.maven.front.mapper;


import com.maven.front.bean.EduQuestions;
import com.maven.front.bean.EduQuestionsComment;
import com.maven.front.dto.EduQuestionsDto;
import com.maven.front.dto.MyEduQuesstionDto;

import java.util.List;

public interface EduQuestionsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(EduQuestions record);

    int insertSelective(EduQuestions record);

    EduQuestions selectByPrimaryKey(Integer id);
    EduQuestions selectByPrimaryKey1(Integer id);

    int updateByPrimaryKeySelective(EduQuestions record);

    int updateByPrimaryKeyWithBLOBs(EduQuestions record);

    int updateByPrimaryKey(EduQuestions record);

    public List<EduQuestions> select(EduQuestions eduQuestions);

    List<EduQuestions> selectByCusId(Integer cusId);

    List<EduQuestions> selectByPrimaryKeys(List<EduQuestionsComment> list);
    public List<EduQuestions> list(EduQuestionsDto eduQuestionsDto);

    int update1(EduQuestions eduQuestions);

    List<EduQuestions> selectAllDescByAddTimeOrView(MyEduQuesstionDto dto);

}